Integrand size = 16, antiderivative size = 337 \[ \int x^2 (a+b \text {arccosh}(c x))^{5/2} \, dx=\frac {5 b^2 x \sqrt {a+b \text {arccosh}(c x)}}{6 c^2}+\frac {5}{36} b^2 x^3 \sqrt {a+b \text {arccosh}(c x)}-\frac {5 b \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{9 c^3}-\frac {5 b x^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{18 c}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}-\frac {15 b^{5/2} e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{64 c^3}-\frac {5 b^{5/2} e^{\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{576 c^3}-\frac {15 b^{5/2} e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{64 c^3}-\frac {5 b^{5/2} e^{-\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{576 c^3} \]
[Out]
Time = 1.30 (sec) , antiderivative size = 337, normalized size of antiderivative = 1.00, number of steps used = 24, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {5884, 5939, 5915, 5879, 5953, 3388, 2211, 2236, 2235, 3393} \[ \int x^2 (a+b \text {arccosh}(c x))^{5/2} \, dx=-\frac {15 \sqrt {\pi } b^{5/2} e^{a/b} \text {erf}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{64 c^3}-\frac {5 \sqrt {\frac {\pi }{3}} b^{5/2} e^{\frac {3 a}{b}} \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{576 c^3}-\frac {15 \sqrt {\pi } b^{5/2} e^{-\frac {a}{b}} \text {erfi}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{64 c^3}-\frac {5 \sqrt {\frac {\pi }{3}} b^{5/2} e^{-\frac {3 a}{b}} \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{576 c^3}+\frac {5 b^2 x \sqrt {a+b \text {arccosh}(c x)}}{6 c^2}+\frac {5}{36} b^2 x^3 \sqrt {a+b \text {arccosh}(c x)}-\frac {5 b \sqrt {c x-1} \sqrt {c x+1} (a+b \text {arccosh}(c x))^{3/2}}{9 c^3}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}-\frac {5 b x^2 \sqrt {c x-1} \sqrt {c x+1} (a+b \text {arccosh}(c x))^{3/2}}{18 c} \]
[In]
[Out]
Rule 2211
Rule 2235
Rule 2236
Rule 3388
Rule 3393
Rule 5879
Rule 5884
Rule 5915
Rule 5939
Rule 5953
Rubi steps \begin{align*} \text {integral}& = \frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}-\frac {1}{6} (5 b c) \int \frac {x^3 (a+b \text {arccosh}(c x))^{3/2}}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx \\ & = -\frac {5 b x^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{18 c}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}+\frac {1}{12} \left (5 b^2\right ) \int x^2 \sqrt {a+b \text {arccosh}(c x)} \, dx-\frac {(5 b) \int \frac {x (a+b \text {arccosh}(c x))^{3/2}}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{9 c} \\ & = \frac {5}{36} b^2 x^3 \sqrt {a+b \text {arccosh}(c x)}-\frac {5 b \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{9 c^3}-\frac {5 b x^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{18 c}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}+\frac {\left (5 b^2\right ) \int \sqrt {a+b \text {arccosh}(c x)} \, dx}{6 c^2}-\frac {1}{72} \left (5 b^3 c\right ) \int \frac {x^3}{\sqrt {-1+c x} \sqrt {1+c x} \sqrt {a+b \text {arccosh}(c x)}} \, dx \\ & = \frac {5 b^2 x \sqrt {a+b \text {arccosh}(c x)}}{6 c^2}+\frac {5}{36} b^2 x^3 \sqrt {a+b \text {arccosh}(c x)}-\frac {5 b \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{9 c^3}-\frac {5 b x^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{18 c}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {\cosh ^3\left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{72 c^3}-\frac {\left (5 b^3\right ) \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x} \sqrt {a+b \text {arccosh}(c x)}} \, dx}{12 c} \\ & = \frac {5 b^2 x \sqrt {a+b \text {arccosh}(c x)}}{6 c^2}+\frac {5}{36} b^2 x^3 \sqrt {a+b \text {arccosh}(c x)}-\frac {5 b \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{9 c^3}-\frac {5 b x^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{18 c}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \left (\frac {\cosh \left (\frac {3 a}{b}-\frac {3 x}{b}\right )}{4 \sqrt {x}}+\frac {3 \cosh \left (\frac {a}{b}-\frac {x}{b}\right )}{4 \sqrt {x}}\right ) \, dx,x,a+b \text {arccosh}(c x)\right )}{72 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {\cosh \left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{12 c^3} \\ & = \frac {5 b^2 x \sqrt {a+b \text {arccosh}(c x)}}{6 c^2}+\frac {5}{36} b^2 x^3 \sqrt {a+b \text {arccosh}(c x)}-\frac {5 b \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{9 c^3}-\frac {5 b x^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{18 c}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {\cosh \left (\frac {3 a}{b}-\frac {3 x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{288 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {\cosh \left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{96 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {e^{-i \left (\frac {i a}{b}-\frac {i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{24 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {e^{i \left (\frac {i a}{b}-\frac {i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{24 c^3} \\ & = \frac {5 b^2 x \sqrt {a+b \text {arccosh}(c x)}}{6 c^2}+\frac {5}{36} b^2 x^3 \sqrt {a+b \text {arccosh}(c x)}-\frac {5 b \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{9 c^3}-\frac {5 b x^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{18 c}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {e^{-i \left (\frac {3 i a}{b}-\frac {3 i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{576 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {e^{i \left (\frac {3 i a}{b}-\frac {3 i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{576 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {e^{-i \left (\frac {i a}{b}-\frac {i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{192 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int \frac {e^{i \left (\frac {i a}{b}-\frac {i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \text {arccosh}(c x)\right )}{192 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \text {arccosh}(c x)}\right )}{12 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \text {arccosh}(c x)}\right )}{12 c^3} \\ & = \frac {5 b^2 x \sqrt {a+b \text {arccosh}(c x)}}{6 c^2}+\frac {5}{36} b^2 x^3 \sqrt {a+b \text {arccosh}(c x)}-\frac {5 b \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{9 c^3}-\frac {5 b x^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{18 c}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}-\frac {5 b^{5/2} e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{24 c^3}-\frac {5 b^{5/2} e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{24 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int e^{\frac {3 a}{b}-\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \text {arccosh}(c x)}\right )}{288 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int e^{-\frac {3 a}{b}+\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \text {arccosh}(c x)}\right )}{288 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \text {arccosh}(c x)}\right )}{96 c^3}-\frac {\left (5 b^2\right ) \text {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \text {arccosh}(c x)}\right )}{96 c^3} \\ & = \frac {5 b^2 x \sqrt {a+b \text {arccosh}(c x)}}{6 c^2}+\frac {5}{36} b^2 x^3 \sqrt {a+b \text {arccosh}(c x)}-\frac {5 b \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{9 c^3}-\frac {5 b x^2 \sqrt {-1+c x} \sqrt {1+c x} (a+b \text {arccosh}(c x))^{3/2}}{18 c}+\frac {1}{3} x^3 (a+b \text {arccosh}(c x))^{5/2}-\frac {15 b^{5/2} e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{64 c^3}-\frac {5 b^{5/2} e^{\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{576 c^3}-\frac {15 b^{5/2} e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{64 c^3}-\frac {5 b^{5/2} e^{-\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right )}{576 c^3} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(924\) vs. \(2(337)=674\).
Time = 8.75 (sec) , antiderivative size = 924, normalized size of antiderivative = 2.74 \[ \int x^2 (a+b \text {arccosh}(c x))^{5/2} \, dx=\frac {a^2 e^{-\frac {3 a}{b}} \sqrt {a+b \text {arccosh}(c x)} \left (9 e^{\frac {4 a}{b}} \sqrt {-\frac {a+b \text {arccosh}(c x)}{b}} \Gamma \left (\frac {3}{2},\frac {a}{b}+\text {arccosh}(c x)\right )+\sqrt {3} \sqrt {\frac {a}{b}+\text {arccosh}(c x)} \Gamma \left (\frac {3}{2},-\frac {3 (a+b \text {arccosh}(c x))}{b}\right )+9 e^{\frac {2 a}{b}} \sqrt {\frac {a}{b}+\text {arccosh}(c x)} \Gamma \left (\frac {3}{2},-\frac {a+b \text {arccosh}(c x)}{b}\right )+\sqrt {3} e^{\frac {6 a}{b}} \sqrt {-\frac {a+b \text {arccosh}(c x)}{b}} \Gamma \left (\frac {3}{2},\frac {3 (a+b \text {arccosh}(c x))}{b}\right )\right )}{72 c^3 \sqrt {-\frac {(a+b \text {arccosh}(c x))^2}{b^2}}}+\frac {a \sqrt {b} \left (9 \left (-12 \sqrt {b} \sqrt {\frac {-1+c x}{1+c x}} (1+c x) \sqrt {a+b \text {arccosh}(c x)}+8 \sqrt {b} c x \text {arccosh}(c x) \sqrt {a+b \text {arccosh}(c x)}+(2 a+3 b) \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {a}{b}\right )-\sinh \left (\frac {a}{b}\right )\right )+(2 a-3 b) \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {a}{b}\right )+\sinh \left (\frac {a}{b}\right )\right )\right )+(2 a+b) \sqrt {3 \pi } \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {3 a}{b}\right )-\sinh \left (\frac {3 a}{b}\right )\right )+(2 a-b) \sqrt {3 \pi } \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {3 a}{b}\right )+\sinh \left (\frac {3 a}{b}\right )\right )+12 \sqrt {b} \sqrt {a+b \text {arccosh}(c x)} (2 \text {arccosh}(c x) \cosh (3 \text {arccosh}(c x))-\sinh (3 \text {arccosh}(c x)))\right )}{144 c^3}-\frac {27 \left (-4 b \sqrt {a+b \text {arccosh}(c x)} \left (2 \sqrt {\frac {-1+c x}{1+c x}} (1+c x) (a-5 b \text {arccosh}(c x))+b c x \left (15+4 \text {arccosh}(c x)^2\right )\right )+\sqrt {b} \left (4 a^2+12 a b+15 b^2\right ) \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {a}{b}\right )-\sinh \left (\frac {a}{b}\right )\right )+\sqrt {b} \left (4 a^2-12 a b+15 b^2\right ) \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {a}{b}\right )+\sinh \left (\frac {a}{b}\right )\right )\right )+\sqrt {b} \left (12 a^2+12 a b+5 b^2\right ) \sqrt {3 \pi } \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {3 a}{b}\right )-\sinh \left (\frac {3 a}{b}\right )\right )+\sqrt {b} \left (12 a^2-12 a b+5 b^2\right ) \sqrt {3 \pi } \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \text {arccosh}(c x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {3 a}{b}\right )+\sinh \left (\frac {3 a}{b}\right )\right )-12 b \sqrt {a+b \text {arccosh}(c x)} \left (b \left (5+12 \text {arccosh}(c x)^2\right ) \cosh (3 \text {arccosh}(c x))+2 (a-5 b \text {arccosh}(c x)) \sinh (3 \text {arccosh}(c x))\right )}{1728 c^3} \]
[In]
[Out]
\[\int x^{2} \left (a +b \,\operatorname {arccosh}\left (c x \right )\right )^{\frac {5}{2}}d x\]
[In]
[Out]
Exception generated. \[ \int x^2 (a+b \text {arccosh}(c x))^{5/2} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int x^2 (a+b \text {arccosh}(c x))^{5/2} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int x^2 (a+b \text {arccosh}(c x))^{5/2} \, dx=\int { {\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}^{\frac {5}{2}} x^{2} \,d x } \]
[In]
[Out]
Exception generated. \[ \int x^2 (a+b \text {arccosh}(c x))^{5/2} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
Timed out. \[ \int x^2 (a+b \text {arccosh}(c x))^{5/2} \, dx=\int x^2\,{\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}^{5/2} \,d x \]
[In]
[Out]